package week4.day319.demo2;

/**
 * @Package: week4.day319.demo2
 * @Author: yanjiali
 * @Created: 2024/3/19 16:07
 * 两位数简单计算器
 */
public class Calculate {

    public static Integer sum(Integer num1, Integer num2) {
        return num1 + num2;
    }

    public static Integer sub(Integer num1, Integer num2) {
        return num1 - num2;
    }


    public static Integer mul(Integer num1, Integer num2) {
        return num1 * num2;
    }


    public static Integer div(Integer num1, Integer num2) {
        return num1 / num2;
    }

}
